export default {
  namespaced: true,

  state: () => {
    return {
      name: '',
      age: null,
    }
  },
  mutations: {
    set_person_info(state, { name, age }) {
      state.name = name
      state.age = age
    },
  },
  getters: {
    getter_user_info(state) {
      return `${state.name}--${state.age}`
    },
  },
}
